package com.threeti.mecool.mobile.interfaces.dto;

import java.io.Serializable;
import java.text.SimpleDateFormat;
import java.util.Date;

import org.hibernate.validator.constraints.NotEmpty;

public class UserDto implements Serializable {

  private String id;

  @NotEmpty
  private String loginName;

  @NotEmpty
  private String password;
  
  private String displayName;

  @NotEmpty
  private String imei;
  
  private String currentServerTime = new SimpleDateFormat("yyyy-MM-dd HH:mm").format(new Date());

  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public String getLoginName() {
    return loginName;
  }

  public void setLoginName(String loginName) {
    this.loginName = loginName;
  }

  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }

  public String getDisplayName() {
    return displayName;
  }

  public void setDisplayName(String displayName) {
    this.displayName = displayName;
  }

  public String getImei() {
    return imei;
  }

  public void setImei(String imei) {
    this.imei = imei;
  }

  public String getCurrentServerTime() {
    return currentServerTime;
  }

  public void setCurrentServerTime(String currentServerTime) {
    this.currentServerTime = currentServerTime;
  }
  

}
